const rollupPluginServe = require('rollup-plugin-serve')
const path = require('path')
module.exports = {
  input: './src/single-spa.js',
  output: {
    file:'./lib/umd/single-spa.js',
    format: 'umd',
    name: 'singleSpa',
    sourcemap:true
  },
  plugins: [
    rollupPluginServe({
      openPage: '/index.html',
      contentBase: '',
      port: 3000
    })
  ]
}